package com.jiejie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
@TableName("movie_and_cast")
public class MovieAndCast implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "movie_and_cast_id", type = IdType.AUTO)
    private Integer movieAndCastId;

    /**
     * 演职人员id
     */
    private Integer castId;

    /**
     * 电影id
     */
    private Integer movieId;

    /**
     * 饰演角色
     */
    private String movieAndCastRole;

    private LocalDateTime movieAndCastCreateTime;

    private LocalDateTime movieAndCastUpdateTime;

    private Integer movieAndCastVersion;

    private Integer movieAndCastStatus;

    private String orther1;

    private String orther2;

    public Integer getMovieAndCastId() {
        return movieAndCastId;
    }

    public void setMovieAndCastId(Integer movieAndCastId) {
        this.movieAndCastId = movieAndCastId;
    }
    public Integer getCastId() {
        return castId;
    }

    public void setCastId(Integer castId) {
        this.castId = castId;
    }
    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }
    public String getMovieAndCastRole() {
        return movieAndCastRole;
    }

    public void setMovieAndCastRole(String movieAndCastRole) {
        this.movieAndCastRole = movieAndCastRole;
    }
    public LocalDateTime getMovieAndCastCreateTime() {
        return movieAndCastCreateTime;
    }

    public void setMovieAndCastCreateTime(LocalDateTime movieAndCastCreateTime) {
        this.movieAndCastCreateTime = movieAndCastCreateTime;
    }
    public LocalDateTime getMovieAndCastUpdateTime() {
        return movieAndCastUpdateTime;
    }

    public void setMovieAndCastUpdateTime(LocalDateTime movieAndCastUpdateTime) {
        this.movieAndCastUpdateTime = movieAndCastUpdateTime;
    }
    public Integer getMovieAndCastVersion() {
        return movieAndCastVersion;
    }

    public void setMovieAndCastVersion(Integer movieAndCastVersion) {
        this.movieAndCastVersion = movieAndCastVersion;
    }
    public Integer getMovieAndCastStatus() {
        return movieAndCastStatus;
    }

    public void setMovieAndCastStatus(Integer movieAndCastStatus) {
        this.movieAndCastStatus = movieAndCastStatus;
    }
    public String getOrther1() {
        return orther1;
    }

    public void setOrther1(String orther1) {
        this.orther1 = orther1;
    }
    public String getOrther2() {
        return orther2;
    }

    public void setOrther2(String orther2) {
        this.orther2 = orther2;
    }

    @Override
    public String toString() {
        return "MovieAndCast{" +
            "movieAndCastId=" + movieAndCastId +
            ", castId=" + castId +
            ", movieId=" + movieId +
            ", movieAndCastRole=" + movieAndCastRole +
            ", movieAndCastCreateTime=" + movieAndCastCreateTime +
            ", movieAndCastUpdateTime=" + movieAndCastUpdateTime +
            ", movieAndCastVersion=" + movieAndCastVersion +
            ", movieAndCastStatus=" + movieAndCastStatus +
            ", orther1=" + orther1 +
            ", orther2=" + orther2 +
        "}";
    }
}
